import React, {Component} from 'react';
import {Switch, Route, Redirect} from 'react-router-dom';
import Test from './Test';

class TestRouter extends Component {
    render() {
        const prefix = this.props.match.path;
        return(
            <Switch>
                <Route path={`${prefix}/`} name="Test" component={Test}/>
            </Switch>
        );
    };
}

export default TestRouter;
